package org.example.coursemangementserver.common.properties;

import lombok.Data;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.stereotype.Component;

/**
 * 网站信息属性,从数据库中获取或者从配置文件里面获取
 * @author 12438
 */
@Component
@Data
@ConfigurationProperties(prefix = "course-management-system.web-info")
public class WebInfoProperties {
    /**
     * 域名
     */
    private String domainName;
}
